From 40817e430aefa43d53d8c21b38e217340ca0992c Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 11 Apr 2001 12:57:50 +0000 Subject: [PATCH] (Fplist_get): Don't QUIT is interrupt_input_blocked. --- src/fns.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/fns.c b/src/fns.c index ceda1cfbf41..c0b8190433e 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1872,7 +1872,11 @@ one of the properties on the list.") { if (EQ (prop, XCAR (tail))) return XCAR (XCDR (tail)); - QUIT; + + /* This function can be called asynchronously + (setup_coding_system). Don't QUIT in that case. */ + if (!interrupt_input_blocked) + QUIT; } if (!NILP (tail)) @@ -1915,6 +1919,7 @@ The PLIST is modified by side effects.") Fsetcar (XCDR (tail), val); return plist; } + prev = tail; QUIT; } -- 2.30.2